import React from 'react';
import ReactDOM from 'react-dom';
import { HashRouter as Router, Route, Switch } from 'react-router-dom';
import icon from '../assets/images/512x512.png';

const App = () => {
  return (
    <Router>
      <Switch>
        <Route path="/">
          <div>Marathon</div>
          <h1>make interview easy</h1>
          <img src={icon} />
        </Route>
      </Switch>
    </Router>
  );
};

ReactDOM.render(<App />, document.getElementById('root'));
